<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <!--[if lt IE 9]>
    <script type="text/javascript" src="{{ url_for('static',filename='admin/lib/html5.js') }}"></script>
    <script type="text/javascript" src="{{ url_for('static',filename='admin/lib/respond.min.js') }}"></script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="{{ url_for('static',filename='admin/h-ui/css/H-ui.min.css') }}"/>
    <link rel="stylesheet" type="text/css"
          href="{{ url_for('static',filename='admin/h-ui.admin/css/H-ui.login.css') }}"/>
    <link rel="stylesheet" type="text/css"
          href="{{ url_for('static',filename='admin/h-ui.admin/css/style.css') }}"/>
    <link rel="stylesheet" type="text/css"
          href="{{ url_for('static',filename='admin/lib/Hui-iconfont/1.0.8/iconfont.css') }}"/>
    <!--[if IE 6]>
    <script type="text/javascript" src="{{ url_for('static',filename='admin/lib/DD_belatedPNG_0.0.8a-min.js') }}"></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
    <title>后台登录 - winstars 1.0</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
</head>
<body>
<input type="hidden" id="TenantId" name="TenantId" value=""/>
<div class="header"></div>
<div class="loginWraper">
    <div id="loginform" class="loginBox">
        <form role="form" method="post" class="form form-horizontal" id="form-admin-add">
            <div class="row cl">
                <label class="form-label col-xs-3"><i class="Hui-iconfont">&#xe60d;</i></label>
                <div class="formControls col-xs-5">
                    {{ form.name }}
                    {% for error in form.name.errors %}
                        <span class="c-red">{{ error }}</span>
                    {% endfor %}
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-xs-3"><i class="Hui-iconfont">&#xe60e;</i></label>
                <div class="formControls col-xs-5">
                    {{ form.password }}
                    {% for error in form.password.errors %}
                        <span class="c-red">{{ error }}</span>
                    {% endfor %}
                </div>
            </div>
            <div class="row cl">
                <div class="formControls col-xs-8 col-xs-offset-3">
                    <label for="online">
                        <input type="checkbox" name="online" id="online" value="">
                        使我保持登录状态</label>
                </div>
            </div>
            <div class="row cl">
                <div class="formControls col-xs-5 col-xs-offset-3">
                    {{ form.csrf_token }}
                    {{ form.submit }}
                    <input name="" type="reset" class="btn btn-default radius size-L"
                           value="取&nbsp;&nbsp;消">
                </div>
            </div>
        </form>
    </div>
</div>
<div class="footer">Copyright 蓝色的鱼 by python flask 1.0</div>
<script type="text/javascript" src="{{ url_for('static',filename='admin/lib/jquery/1.9.1/jquery.min.js') }}"></script>
<script type="text/javascript" src="{{ url_for('static',filename='admin/lib/layer/2.4/layer.js') }}"></script>
<script type="text/javascript" src="{{ url_for('static',filename='admin/h-ui/js/H-ui.js') }}"></script>
<script type="text/javascript" src="{{ url_for('static',filename='admin/h-ui.admin/js/dialog.js') }}"></script>
{% for message in get_flashed_messages(category_filter=["error"]) %}
    <script type="text/javascript">
        var msg = "{{ message }}";
        if (msg) {
            dialog.error(msg);
        }
    </script>
{% endfor %}
{% for message in get_flashed_messages(category_filter=["ok"]) %}
    <script type="text/javascript">
        var msg = "{{ message }}";
        if (msg) {
            dialog.success(msg);
        }
    </script>
{% endfor %}
<!--此乃百度统计代码，请自行删除-->
<script>
</script>
<!--此乃百度统计代码，请自行删除-->
</body>
</html>